package com.sims.eo;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * SimsCourse entity. @author MyEclipse Persistence Tools
 */

public class SimsCourse implements java.io.Serializable {

	// Fields

	private Long id;
	private String courseCode;
	private String courseName;
	private Double period;
	private Double credit;
	private String lockFlag;
	private String activityStatus;
	private Timestamp createdDate;
	private Timestamp lastUpdateDate;

	// N-N
	private Set<SimsGrade> setSimsGrade = new HashSet<SimsGrade>();
	public Set<SimsGrade> getSetSimsGrade() {
		return setSimsGrade;
	}
	public void setSetSimsGrade(Set<SimsGrade> setSimsGrade) {
		this.setSimsGrade = setSimsGrade;
	}

	// Constructors

	/** default constructor */
	public SimsCourse() {
	}

	/** full constructor */
	public SimsCourse(String courseCode, String courseName, Double period,
			Double credit, String lockFlag, String activityStatus,
			Timestamp createdDate, Timestamp lastUpdateDate) {
		this.courseCode = courseCode;
		this.courseName = courseName;
		this.period = period;
		this.credit = credit;
		this.lockFlag = lockFlag;
		this.activityStatus = activityStatus;
		this.createdDate = createdDate;
		this.lastUpdateDate = lastUpdateDate;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCourseCode() {
		return this.courseCode;
	}

	public void setCourseCode(String courseCode) {
		this.courseCode = courseCode;
	}

	public String getCourseName() {
		return this.courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	public Double getPeriod() {
		return this.period;
	}

	public void setPeriod(Double period) {
		this.period = period;
	}

	public Double getCredit() {
		return this.credit;
	}

	public void setCredit(Double credit) {
		this.credit = credit;
	}

	public String getLockFlag() {
		return this.lockFlag;
	}

	public void setLockFlag(String lockFlag) {
		this.lockFlag = lockFlag;
	}

	public String getActivityStatus() {
		return this.activityStatus;
	}

	public void setActivityStatus(String activityStatus) {
		this.activityStatus = activityStatus;
	}

	public Timestamp getCreatedDate() {
		return this.createdDate;
	}

	public void setCreatedDate(Timestamp createdDate) {
		this.createdDate = createdDate;
	}

	public Timestamp getLastUpdateDate() {
		return this.lastUpdateDate;
	}

	public void setLastUpdateDate(Timestamp lastUpdateDate) {
		this.lastUpdateDate = lastUpdateDate;
	}

}